package com.vol.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * (sys_role)实体类
 *
 * @author kancy
 * @since 2024-08-22 14:17:26
 * @description 由 Mybatisplus Code Generator 创建
 */

@Accessors(chain = true)
@TableName("sys_role")
public class SysRole extends Model<SysRole> implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * roleId
     */
    @TableId
	private Integer roleId;
    /**
     * createdate
     */
    private Date createdate;
    /**
     * creator
     */
    private String creator;
    /**
     * deleteby
     */
    private String deleteby;
    /**
     * deptname
     */
    private String deptname;
    /**
     * deptId
     */
    private Integer deptId;
    /**
     * enable
     */
    private Integer enable;
    /**
     * modifier
     */
    private String modifier;
    /**
     * modifydate
     */
    private Date modifydate;
    /**
     * orderno
     */
    private Integer orderno;
    /**
     * parentid
     */
    private Integer parentid;
    /**
     * rolename
     */
    private String rolename;


    //setter
    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public void setDeleteby(String deleteby) {
        this.deleteby = deleteby;
    }

    public void setDeptname(String deptname) {
        this.deptname = deptname;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public void setEnable(Integer enable) {
        this.enable = enable;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier;
    }

    public void setModifydate(Date modifydate) {
        this.modifydate = modifydate;
    }

    public void setOrderno(Integer orderno) {
        this.orderno = orderno;
    }

    public void setParentid(Integer parentid) {
        this.parentid = parentid;
    }

    public void setRolename(String rolename) {
        this.rolename = rolename;
    }

    //getter

    @JsonProperty("Role_Id")
    public Integer getRoleId() {
        return roleId;
    }

    @JsonProperty("CreateDate")
    public Date getCreatedate() {
        return createdate;
    }

    @JsonProperty("Creator")
    public String getCreator() {
        return creator;
    }

    @JsonProperty("DeleteBy")
    public String getDeleteby() {
        return deleteby;
    }

    @JsonProperty("DeptName")
    public String getDeptname() {
        return deptname;
    }

    @JsonProperty("Dept_Id")
    public Integer getDeptId() {
        return deptId;
    }

    @JsonProperty("Enable")
    public Integer getEnable() {
        return enable;
    }

    @JsonProperty("Modifier")
    public String getModifier() {
        return modifier;
    }

    @JsonProperty("ModifyDate")
    public Date getModifydate() {
        return modifydate;
    }

    @JsonProperty("OrderNo")
    public Integer getOrderno() {
        return orderno;
    }

    @JsonProperty("ParentId")
    public Integer getParentid() {
        return parentid;
    }

    @JsonProperty("RoleName")
    public String getRolename() {
        return rolename;
    }
}